# Description: Vim düzenleyicisinin GTK sürümü
# URL: http://www.vim.org/
# Packager: milisarge
# Depends on: vim gtk2 xorg-libxt

name=gvim
version=8.0.0329
release=1
source=(http://crux.nu/files/distfiles/vim-$version.tar.xz)

build () {
    cd vim-$version/src
    
    ./configure --prefix=/usr \
                --with-vim-name=gvim \
                --with-x=yes \
                --enable-gui=gtk2 \
                --enable-multibyte \
                --enable-cscope \
                --disable-gpm

    make VIMRTDIR=
    make VIMRTDIR= DESTDIR=$PKG installvimbin install-icons

    sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
}
